function CheckBox(element){
	this.element = element;
	
	return this;
}

//-------------------------------------------------------------------------------------------------

CheckBox.prototype.getValue = function() {
	return this.element.checked; 
};


//-------------------------------------------------------------------------------------------------

CheckBox.prototype.setValue = function(value) {
	
	this.element.checked = value;
	this.element.value = value;
};
